package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IClassificationActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.resp.AllClassTypeEntity;

import java.util.List;

public class ClassificationActivityModel implements IClassificationActivityModel{

    private NetService netService;

    public ClassificationActivityModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void initResult(HttpResultSubscriber<List<AllClassTypeEntity>> subscriber) {
        netService.allClassType(subscriber);
    }
}
